package ui.activity.profit.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.profit.biz.RankingBiz;
import ui.activity.profit.contract.RankingContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class RankingModule {
    private RankingContract.View view;

    public RankingModule(RankingContract.View view) {
        this.view = view;
    }

    @Provides
    public RankingContract.View provideView() {
        return view;
    }

    @Provides
    public RankingBiz provideBiz() {
        return new RankingBiz();
    }
}